package io.gitee.zhucan123.core.infrastructure.util;

/**
 * @author: zhuCan
 * @date: 2019/11/12 16:35
 * @description:
 */
public class Pattern {

  private Pattern() {
  }

  public static boolean phoneNumber(String number) {
    return java.util.regex.Pattern.compile("1[3|4|5|6|7|8|9][0-9]\\d{8}").matcher(number).find();
  }

}
